
#ifndef __FILE_ENCRYPT_PROPERTY_H__
#define __FILE_ENCRYPT_PROPERTY_H__

#include "../SafeWall.h"

typedef struct __SAFEWALL_FILEDATA {
	PFSRTL_COMMON_FCB_HEADER pFcb;
	DWORD dwFlags;
	UNICODE_PATH strFilePath;
	GUID  EncryptKey;
}SAFEWALL_FILEDATA, * PSAFEWALL_FILEDATA;

#ifdef __cplusplus
extern "C" {
#endif

	VOID InitializeFileEncrypt();
	VOID ReleaseFileEncrypt();
	PSAFEWALL_FILEDATA SelectFileEncryptNode(PFSRTL_COMMON_FCB_HEADER pFcb);
	BOOLEAN DeleteFileEncryptNode(PFSRTL_COMMON_FCB_HEADER pFcb);
	PSAFEWALL_FILEDATA InsertSingleFileEncryptNode(PFSRTL_COMMON_FCB_HEADER pFcb, BOOLEAN* IsHas);

#ifdef __cplusplus
}
#endif

#endif